package com.erlang.springbootenableother.config;

import com.erlang.springbootenableother.entity.Role;
import com.erlang.springbootenableother.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by IntelliJ IDEA.
 *
 * @author ZGQ
 */
public class UserConfig {
    @Bean
    public User user() {
        return new User();
    }

    @Bean
    public Role role() {
        return new Role();
    }
}
